package com.rose.sharding.data.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 对应table：user
 *
 * @Data = @ToString + @Getter + @Setter + @EqualsAndHashCode功能和
 * </p>
 * @author: zhu.chen
 * @date: 2020/10/12
 * @version: v1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String phone;
    private String email;
    private String password;
    private Integer cityId;
    private Date createTime;
    private Integer sex;
}
